<template>
  <view class="DataNo">
    <image src="@/static/My/envelop.png" mode="scaleToFill" />
    <view class="DataNoText">{{ msg }}</view>
  </view>
</template>

<script setup>
let { msg } = defineProps({
  msg: {
    type: String,
    default: '暂无信息',
  },
})
</script>
<style scoped lang="scss">
.DataNo {
  height: 50vh;
  padding-top: 10%;

  image {
    width: 230rpx;
    height: 170rpx;
    display: block;
    margin: 5% auto;
  }

  .DataNoText {
    text-align: center;
    font-size: 30rpx;
    color: #999999;
    margin-top: 10%;
  }
}
</style>
